package com.sr.recitewords.datasource.comparatorVo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class FrCashPaymentComparatorVo {
    @ApiModelProperty(value = "现金付款单号")
    @TableId(type = IdType.AUTO)
    private String cashPaymentId;
    @ApiModelProperty(value = "收款人员")
    private String paymentUserName;
    @ApiModelProperty(value = "收款方式")
    private String paymentWay;
    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderAmount;
    @ApiModelProperty(value = "币种")
    private String currency;
    @ApiModelProperty(value = "本次付款")
    private BigDecimal thisPayment;
    @ApiModelProperty(value = "本单付款使用金额")
    private BigDecimal thisUsePayment;
    @ApiModelProperty(value = "付款金额(余额+本单付款使用金额)")
    private BigDecimal paymentAmount;
    @ApiModelProperty(value = "现金已收")
    private BigDecimal cashReceived;
    @ApiModelProperty(value = "现金欠款")
    private BigDecimal cashArrears;
    @ApiModelProperty(value = "付款账户")
    private String paymentAccount;
    @ApiModelProperty(value = "现金付款备注")
    private String remark;
    @ApiModelProperty(value = "收款单图片")
    private String collectionFileUrl;

    @ApiModelProperty(value = "是否使用余额")
    private String ynUseBalance;
    @ApiModelProperty(value = "使用了多少余额付款")
    private BigDecimal balancePayment;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @ApiModelProperty("单据编号")
    private String documentNumber;
    @ApiModelProperty("单据类型")
    private String documentType;
    @ApiModelProperty("并联id")
    private String parallelId;
}
